import request from '@/utils/request.js'

export function login(data) {
  return request.post('/landlord/login', data);
}
export function logout() {
  return request.post('/landlord/logout');
}
export function getUser(){
  return request.get("/landlord/getuser");
}
export function getCode(params){
	return request.get('/landlord/getCode',{params})
}
export function loginBycode(data){
	return request.post('/landlord/loginBycode',data)
}